package com.bwda.dsrs.base.centerbase.form;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author yangjun
 * @date 2019/3/18
 */
public class BaseQueryForm {
    @ApiModelProperty("分页每页条数")
    public Integer pageSize = 20;
    @ApiModelProperty("分页页码")
    public Integer pageNum = 0;
    @ApiModelProperty("排序字段")
    public List<SortInfo> sortInfos;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("BaseForm{");
        sb.append("pageSize=").append(this.pageSize);
        sb.append(", pageNum=").append(this.pageNum);
        sb.append('}');
        return sb.toString();
    }

    public BaseQueryForm() {
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public Integer getPageNum() {
        return this.pageNum;
    }

    public List<SortInfo> getSortInfos() {
        return this.sortInfos;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public void setSortInfos(List<SortInfo> sortInfos) {
        this.sortInfos = sortInfos;
    }


}

